package com.kashow.bean.pay;

/**
 * Created by yybs on 16/12/28.
 */

public class CreateOrder {


    /**
     * subject : testSubject
     * body : testBody
     * channel : alipay
     * amount : 1
     * metadata : {"liveId":1}
     */


    private String channel;
    private int amount;
    private Metadata metadata;

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    public Metadata getMetadata() {
        return metadata;
    }

    public void setMetadata(Metadata metadata) {
        this.metadata = metadata;
    }

    public static class Metadata {
        /**
         * liveId : 1
         */
        private int userId;
        private int liveId;
        private int albumId;

        public int getAlbumId() {
            return albumId;
        }

        public void setAlbumId(int albumId) {
            this.albumId = albumId;
        }

        public int getLiveId() {
            return liveId;
        }

        public void setLiveId(int liveId) {
            this.liveId = liveId;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }
    }
}
